package MBG.bean;

import java.util.ArrayList;
import java.util.List;

public class doubanfilmExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public doubanfilmExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(String value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(String value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(String value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(String value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(String value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(String value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLike(String value) {
            addCriterion("year like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotLike(String value) {
            addCriterion("year not like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<String> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<String> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(String value1, String value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(String value1, String value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDirectorsIsNull() {
            addCriterion("directors is null");
            return (Criteria) this;
        }

        public Criteria andDirectorsIsNotNull() {
            addCriterion("directors is not null");
            return (Criteria) this;
        }

        public Criteria andDirectorsEqualTo(String value) {
            addCriterion("directors =", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsNotEqualTo(String value) {
            addCriterion("directors <>", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsGreaterThan(String value) {
            addCriterion("directors >", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsGreaterThanOrEqualTo(String value) {
            addCriterion("directors >=", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsLessThan(String value) {
            addCriterion("directors <", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsLessThanOrEqualTo(String value) {
            addCriterion("directors <=", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsLike(String value) {
            addCriterion("directors like", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsNotLike(String value) {
            addCriterion("directors not like", value, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsIn(List<String> values) {
            addCriterion("directors in", values, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsNotIn(List<String> values) {
            addCriterion("directors not in", values, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsBetween(String value1, String value2) {
            addCriterion("directors between", value1, value2, "directors");
            return (Criteria) this;
        }

        public Criteria andDirectorsNotBetween(String value1, String value2) {
            addCriterion("directors not between", value1, value2, "directors");
            return (Criteria) this;
        }

        public Criteria andWritersIsNull() {
            addCriterion("writers is null");
            return (Criteria) this;
        }

        public Criteria andWritersIsNotNull() {
            addCriterion("writers is not null");
            return (Criteria) this;
        }

        public Criteria andWritersEqualTo(String value) {
            addCriterion("writers =", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersNotEqualTo(String value) {
            addCriterion("writers <>", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersGreaterThan(String value) {
            addCriterion("writers >", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersGreaterThanOrEqualTo(String value) {
            addCriterion("writers >=", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersLessThan(String value) {
            addCriterion("writers <", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersLessThanOrEqualTo(String value) {
            addCriterion("writers <=", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersLike(String value) {
            addCriterion("writers like", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersNotLike(String value) {
            addCriterion("writers not like", value, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersIn(List<String> values) {
            addCriterion("writers in", values, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersNotIn(List<String> values) {
            addCriterion("writers not in", values, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersBetween(String value1, String value2) {
            addCriterion("writers between", value1, value2, "writers");
            return (Criteria) this;
        }

        public Criteria andWritersNotBetween(String value1, String value2) {
            addCriterion("writers not between", value1, value2, "writers");
            return (Criteria) this;
        }

        public Criteria andActorsIsNull() {
            addCriterion("actors is null");
            return (Criteria) this;
        }

        public Criteria andActorsIsNotNull() {
            addCriterion("actors is not null");
            return (Criteria) this;
        }

        public Criteria andActorsEqualTo(String value) {
            addCriterion("actors =", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsNotEqualTo(String value) {
            addCriterion("actors <>", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsGreaterThan(String value) {
            addCriterion("actors >", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsGreaterThanOrEqualTo(String value) {
            addCriterion("actors >=", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsLessThan(String value) {
            addCriterion("actors <", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsLessThanOrEqualTo(String value) {
            addCriterion("actors <=", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsLike(String value) {
            addCriterion("actors like", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsNotLike(String value) {
            addCriterion("actors not like", value, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsIn(List<String> values) {
            addCriterion("actors in", values, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsNotIn(List<String> values) {
            addCriterion("actors not in", values, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsBetween(String value1, String value2) {
            addCriterion("actors between", value1, value2, "actors");
            return (Criteria) this;
        }

        public Criteria andActorsNotBetween(String value1, String value2) {
            addCriterion("actors not between", value1, value2, "actors");
            return (Criteria) this;
        }

        public Criteria andTagsIsNull() {
            addCriterion("tags is null");
            return (Criteria) this;
        }

        public Criteria andTagsIsNotNull() {
            addCriterion("tags is not null");
            return (Criteria) this;
        }

        public Criteria andTagsEqualTo(String value) {
            addCriterion("tags =", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotEqualTo(String value) {
            addCriterion("tags <>", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsGreaterThan(String value) {
            addCriterion("tags >", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsGreaterThanOrEqualTo(String value) {
            addCriterion("tags >=", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsLessThan(String value) {
            addCriterion("tags <", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsLessThanOrEqualTo(String value) {
            addCriterion("tags <=", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsLike(String value) {
            addCriterion("tags like", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotLike(String value) {
            addCriterion("tags not like", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsIn(List<String> values) {
            addCriterion("tags in", values, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotIn(List<String> values) {
            addCriterion("tags not in", values, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsBetween(String value1, String value2) {
            addCriterion("tags between", value1, value2, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotBetween(String value1, String value2) {
            addCriterion("tags not between", value1, value2, "tags");
            return (Criteria) this;
        }

        public Criteria andAreasIsNull() {
            addCriterion("areas is null");
            return (Criteria) this;
        }

        public Criteria andAreasIsNotNull() {
            addCriterion("areas is not null");
            return (Criteria) this;
        }

        public Criteria andAreasEqualTo(String value) {
            addCriterion("areas =", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasNotEqualTo(String value) {
            addCriterion("areas <>", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasGreaterThan(String value) {
            addCriterion("areas >", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasGreaterThanOrEqualTo(String value) {
            addCriterion("areas >=", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasLessThan(String value) {
            addCriterion("areas <", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasLessThanOrEqualTo(String value) {
            addCriterion("areas <=", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasLike(String value) {
            addCriterion("areas like", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasNotLike(String value) {
            addCriterion("areas not like", value, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasIn(List<String> values) {
            addCriterion("areas in", values, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasNotIn(List<String> values) {
            addCriterion("areas not in", values, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasBetween(String value1, String value2) {
            addCriterion("areas between", value1, value2, "areas");
            return (Criteria) this;
        }

        public Criteria andAreasNotBetween(String value1, String value2) {
            addCriterion("areas not between", value1, value2, "areas");
            return (Criteria) this;
        }

        public Criteria andLanguagesIsNull() {
            addCriterion("languages is null");
            return (Criteria) this;
        }

        public Criteria andLanguagesIsNotNull() {
            addCriterion("languages is not null");
            return (Criteria) this;
        }

        public Criteria andLanguagesEqualTo(String value) {
            addCriterion("languages =", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesNotEqualTo(String value) {
            addCriterion("languages <>", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesGreaterThan(String value) {
            addCriterion("languages >", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesGreaterThanOrEqualTo(String value) {
            addCriterion("languages >=", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesLessThan(String value) {
            addCriterion("languages <", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesLessThanOrEqualTo(String value) {
            addCriterion("languages <=", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesLike(String value) {
            addCriterion("languages like", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesNotLike(String value) {
            addCriterion("languages not like", value, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesIn(List<String> values) {
            addCriterion("languages in", values, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesNotIn(List<String> values) {
            addCriterion("languages not in", values, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesBetween(String value1, String value2) {
            addCriterion("languages between", value1, value2, "languages");
            return (Criteria) this;
        }

        public Criteria andLanguagesNotBetween(String value1, String value2) {
            addCriterion("languages not between", value1, value2, "languages");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesIsNull() {
            addCriterion("release_dates is null");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesIsNotNull() {
            addCriterion("release_dates is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesEqualTo(String value) {
            addCriterion("release_dates =", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesNotEqualTo(String value) {
            addCriterion("release_dates <>", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesGreaterThan(String value) {
            addCriterion("release_dates >", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesGreaterThanOrEqualTo(String value) {
            addCriterion("release_dates >=", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesLessThan(String value) {
            addCriterion("release_dates <", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesLessThanOrEqualTo(String value) {
            addCriterion("release_dates <=", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesLike(String value) {
            addCriterion("release_dates like", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesNotLike(String value) {
            addCriterion("release_dates not like", value, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesIn(List<String> values) {
            addCriterion("release_dates in", values, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesNotIn(List<String> values) {
            addCriterion("release_dates not in", values, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesBetween(String value1, String value2) {
            addCriterion("release_dates between", value1, value2, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andReleaseDatesNotBetween(String value1, String value2) {
            addCriterion("release_dates not between", value1, value2, "releaseDates");
            return (Criteria) this;
        }

        public Criteria andDurationIsNull() {
            addCriterion("duration is null");
            return (Criteria) this;
        }

        public Criteria andDurationIsNotNull() {
            addCriterion("duration is not null");
            return (Criteria) this;
        }

        public Criteria andDurationEqualTo(String value) {
            addCriterion("duration =", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotEqualTo(String value) {
            addCriterion("duration <>", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThan(String value) {
            addCriterion("duration >", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThanOrEqualTo(String value) {
            addCriterion("duration >=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThan(String value) {
            addCriterion("duration <", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThanOrEqualTo(String value) {
            addCriterion("duration <=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLike(String value) {
            addCriterion("duration like", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotLike(String value) {
            addCriterion("duration not like", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationIn(List<String> values) {
            addCriterion("duration in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotIn(List<String> values) {
            addCriterion("duration not in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationBetween(String value1, String value2) {
            addCriterion("duration between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotBetween(String value1, String value2) {
            addCriterion("duration not between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andOtherNamesIsNull() {
            addCriterion("other_names is null");
            return (Criteria) this;
        }

        public Criteria andOtherNamesIsNotNull() {
            addCriterion("other_names is not null");
            return (Criteria) this;
        }

        public Criteria andOtherNamesEqualTo(String value) {
            addCriterion("other_names =", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesNotEqualTo(String value) {
            addCriterion("other_names <>", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesGreaterThan(String value) {
            addCriterion("other_names >", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesGreaterThanOrEqualTo(String value) {
            addCriterion("other_names >=", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesLessThan(String value) {
            addCriterion("other_names <", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesLessThanOrEqualTo(String value) {
            addCriterion("other_names <=", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesLike(String value) {
            addCriterion("other_names like", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesNotLike(String value) {
            addCriterion("other_names not like", value, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesIn(List<String> values) {
            addCriterion("other_names in", values, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesNotIn(List<String> values) {
            addCriterion("other_names not in", values, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesBetween(String value1, String value2) {
            addCriterion("other_names between", value1, value2, "otherNames");
            return (Criteria) this;
        }

        public Criteria andOtherNamesNotBetween(String value1, String value2) {
            addCriterion("other_names not between", value1, value2, "otherNames");
            return (Criteria) this;
        }

        public Criteria andImdbUrlIsNull() {
            addCriterion("imdb_url is null");
            return (Criteria) this;
        }

        public Criteria andImdbUrlIsNotNull() {
            addCriterion("imdb_url is not null");
            return (Criteria) this;
        }

        public Criteria andImdbUrlEqualTo(String value) {
            addCriterion("imdb_url =", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlNotEqualTo(String value) {
            addCriterion("imdb_url <>", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlGreaterThan(String value) {
            addCriterion("imdb_url >", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlGreaterThanOrEqualTo(String value) {
            addCriterion("imdb_url >=", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlLessThan(String value) {
            addCriterion("imdb_url <", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlLessThanOrEqualTo(String value) {
            addCriterion("imdb_url <=", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlLike(String value) {
            addCriterion("imdb_url like", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlNotLike(String value) {
            addCriterion("imdb_url not like", value, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlIn(List<String> values) {
            addCriterion("imdb_url in", values, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlNotIn(List<String> values) {
            addCriterion("imdb_url not in", values, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlBetween(String value1, String value2) {
            addCriterion("imdb_url between", value1, value2, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andImdbUrlNotBetween(String value1, String value2) {
            addCriterion("imdb_url not between", value1, value2, "imdbUrl");
            return (Criteria) this;
        }

        public Criteria andStarIsNull() {
            addCriterion("star is null");
            return (Criteria) this;
        }

        public Criteria andStarIsNotNull() {
            addCriterion("star is not null");
            return (Criteria) this;
        }

        public Criteria andStarEqualTo(String value) {
            addCriterion("star =", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotEqualTo(String value) {
            addCriterion("star <>", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarGreaterThan(String value) {
            addCriterion("star >", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarGreaterThanOrEqualTo(String value) {
            addCriterion("star >=", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarLessThan(String value) {
            addCriterion("star <", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarLessThanOrEqualTo(String value) {
            addCriterion("star <=", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarLike(String value) {
            addCriterion("star like", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotLike(String value) {
            addCriterion("star not like", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarIn(List<String> values) {
            addCriterion("star in", values, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotIn(List<String> values) {
            addCriterion("star not in", values, "star");
            return (Criteria) this;
        }

        public Criteria andStarBetween(String value1, String value2) {
            addCriterion("star between", value1, value2, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotBetween(String value1, String value2) {
            addCriterion("star not between", value1, value2, "star");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumIsNull() {
            addCriterion("evaluate_num is null");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumIsNotNull() {
            addCriterion("evaluate_num is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumEqualTo(String value) {
            addCriterion("evaluate_num =", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumNotEqualTo(String value) {
            addCriterion("evaluate_num <>", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumGreaterThan(String value) {
            addCriterion("evaluate_num >", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumGreaterThanOrEqualTo(String value) {
            addCriterion("evaluate_num >=", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumLessThan(String value) {
            addCriterion("evaluate_num <", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumLessThanOrEqualTo(String value) {
            addCriterion("evaluate_num <=", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumLike(String value) {
            addCriterion("evaluate_num like", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumNotLike(String value) {
            addCriterion("evaluate_num not like", value, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumIn(List<String> values) {
            addCriterion("evaluate_num in", values, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumNotIn(List<String> values) {
            addCriterion("evaluate_num not in", values, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumBetween(String value1, String value2) {
            addCriterion("evaluate_num between", value1, value2, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andEvaluateNumNotBetween(String value1, String value2) {
            addCriterion("evaluate_num not between", value1, value2, "evaluateNum");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}